package pers.qianyu.module.core.domain.system.vo;

import java.io.Serializable;

/**
 * 系统统计信息
 *
 * @author mizzle rain
 * @date 2021-05-02 14:12
 */
public class StatisticInfoVO implements Serializable {
    private static final long serialVersionUID = -4323919298604940458L;
    private Long imageCount;
    private Long commentCount;
    private Long userCount;
    private Long labelCount;

    public Long getImageCount() {
        return imageCount;
    }

    public void setImageCount(Long imageCount) {
        this.imageCount = imageCount;
    }

    public Long getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Long commentCount) {
        this.commentCount = commentCount;
    }

    public Long getUserCount() {
        return userCount;
    }

    public void setUserCount(Long userCount) {
        this.userCount = userCount;
    }

    public Long getLabelCount() {
        return labelCount;
    }

    public void setLabelCount(Long labelCount) {
        this.labelCount = labelCount;
    }


    public static final class Builder {
        private Long imageCount;
        private Long commentCount;
        private Long userCount;
        private Long labelCount;

        private Builder() {
        }

        public static Builder aStatisticInfoVO() {
            return new Builder();
        }

        public Builder imageCount(Long imageCount) {
            this.imageCount = imageCount;
            return this;
        }

        public Builder commentCount(Long commentCount) {
            this.commentCount = commentCount;
            return this;
        }

        public Builder userCount(Long userCount) {
            this.userCount = userCount;
            return this;
        }

        public Builder labelCount(Long labelCount) {
            this.labelCount = labelCount;
            return this;
        }

        public StatisticInfoVO build() {
            StatisticInfoVO statisticInfoVO = new StatisticInfoVO();
            statisticInfoVO.setImageCount(imageCount);
            statisticInfoVO.setCommentCount(commentCount);
            statisticInfoVO.setUserCount(userCount);
            statisticInfoVO.setLabelCount(labelCount);
            return statisticInfoVO;
        }
    }
}
